package com.lleice.web.test;

import com.baomidou.dynamic.datasource.toolkit.CryptoUtils;

/**
 * 数据库敏感字段加密
 * @author lizihao
 *
 */
public class DataSourceEnc {
	public static void main(String[] args) throws Exception {
        String password = "smartward";

        String encodePassword = CryptoUtils.encrypt(password);
        System.out.println(encodePassword);
    }
}
